package io.github.quickmsg.core.auth;

import io.github.quickmsg.common.auth.AuthManager;
import io.github.quickmsg.common.auth.enums.ConnectReasonEnum;
import reactor.core.publisher.Mono;

/**
 * @author luxurong
 */
public class NoneAuthManager implements AuthManager {
    @Override
    public Mono<ConnectReasonEnum> auth(String userName, byte[] passwordInBytes, String clientIdentifier) {
        return Mono.just(ConnectReasonEnum.SUCCESS);
    }
}
